
@font-family-index: Helvetica, Tahoma, Arial;
@color-fade-index : rgba(255,255,255,0.8);


.index{
  height: 100%;
  padding-top: 0px;

  #main-content-container{
    padding  : 0;
    height: 100%;
    min-width: @width-min;
  }

  .navbar{
    border-radius: 0px;
    margin-bottom: 0px;
    .hover_animate;
    &.navbar-fixed-top{
      background-color: transparent;
    }
    &.navbar-inverse{
      border-bottom-color: transparent;
    }
    .navbar-container {
      .navbar-header a.navbar-brand{
        background-color: transparent;
      }
      #navbar .navbar-right {
        a{
          font-weight: 200;
          color: rgba(255,255,255,0.6);
        }
        li{
          border-bottom-color: transparent;
        }
        .dropdown-menu a{
          font-weight:normal;
          color: #333;
          &:hover,&:focus{
            color: #fff;
          }
        }
      }
    }
    &.nav-scroll{
      &.navbar-fixed-top{
        background-color: rgba(0,0,0,0.6)!important;
      }
      .hover_animate;
      z-index: 11111;
      &.navbar-inverse{
        border-bottom-color: #222;
      }
      .navbar-container {
        // .navbar-header a.navbar-brand{
          // background-color: rgba(68, 68, 68, 0.6);
        // }
        #navbar .navbar-right {
          a{
            font-weight: 200;
            color: @color-fade-index;
            .transition(all 0.5s ease);
            &:hover, &:active{
              color: #fff;
              .transition(all 0.5s ease);
            }
          }
          li{
            border-bottom: 1px solid rgba(255, 255, 255, 0.035);
          }
          .dropdown-menu a{
            font-weight:normal;
            // color: #333;
            &:hover,&:focus{
              color: #fff;
            }
          }
        }
      }
    }
  }

  .section{
    padding: 0px;
    background: #f2f2f2;
    overflow: hidden;
    &.darker {
      background: @color-main;
      color: #fff;
    }
    .title{
      font-family: 'Microsoft YaHei';
      -webkit-font-smoothing: antialiased;
      line-height: 1.4;
      text-align: center;
      margin-bottom: 20px;
      opacity: 0;
      font-size : 27px;
      color     : #333;
      font-weight: normal;
      .transition(all .6s ease);
      .translate(@x: 0%;@y: 0px);
      &.animated{
        .translate(@x: 0%;@y: 0%);
        opacity: 1;
        small {
          .translate(@x: 0%;@y: 0%);
          opacity: 1;
        }
      }
      &.slogan{
        font-family: @font-family;
        margin: 60px 0 160px;
        span{
          color: @color-main;
          font-family: Helvetica, Tahoma, Arial;
          font-size: 44px;
          font-weight: 100;
          word-spacing: 12px;
        }
      }
      font {
        display: block;
        font-size: 15px;
        color: #999;
        margin-top: 5px;
        line-height: 1.7;
        .transition(all .6s .2s ease);
        .translate(@x: 0%;@y: 10px);
        &.flag{
          color: @color-main;
          font-family: @font-family-index;
          font-weight: 500;
          font-size: 20px;
          word-spacing: 20px;
        }
      }
    }
    &#page1{
      position: relative;
      height: 100%;
      overflow: hidden;
      outline: none;
      padding: 30px 0;
      color: #fff;
      text-align: center;
      text-shadow: 0 1px 0 rgba(0,0,0,.1);
      // height: 530px;
      .linear-gradient(@color-input, @color-main);
      background-repeat: repeat-x;
      .section-header-container{
        z-index:40;
        overflow: hidden;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
      }
      .starfield {
        height:100%;
        left:0;
        position:absolute;
        top:0;
        width:100%;
        z-index:4;
        opacity: 0.6;
      }
      .bb-icon {
        margin: 0 auto 30px;
        background-color: transparent;
        border: 2px solid #fff;
        width: @logo-size;
        height: @logo-size;
        line-height: @logo-size;
        font-size: 108px;
        display: block;
        font-weight: 500;
        color: #fff;
        text-align: center;
        cursor: default;
        border-radius: 15%;
      }
      .lead {
        margin: 0 auto 30px;
        font-size: 20px;
        font-weight: 300;
        line-height: 1.4;
        .btn {
          width: 100%;
          padding: 15px 30px;
          font-size: 20px;
          color: #fff;
          background-color: transparent;
          border: 1px solid #fff;
          &:hover,&:active,&:focus{
            box-shadow: 0 0 50px #fff;
            transition: all 0.2s;
          }
        }
      }
      .version {
        margin-top: -15px;
        color: #ABE0BD;
      }
    }
    &#page2{
      z-index: 100;
      background-color: #fff;
    }
    &#page3{
      padding  : 0px;
      .page-over-header {
        padding: 90px 40px;
        position: absolute;
        left: 50%;
        margin-top: -144px;
        margin-left: -144px;
        width: 288px;
        height: 288px;
        background: #fff;
        border-radius: 100%;
        color: #000;
        font-family: @font-family-index;
        font-size: 18px;
        font-weight: 200;
        padding-bottom: 12px;
        box-shadow: 0 3px 5px rgba(255,255,255,.4);
        .slogan-top{
          color: @color-main;
          font-size: 24px;
          padding-top: 0px;
        }
        .slogan-bottom{
          font-family: @font-family;
          font-size: 20px;
          word-spacing: 3px;
          margin-top: 90px;
          line-height: 16px;
          color: #333;
          div{
            font-size: 5px;
            font-family: arial;
            margin-top: 44px;
            color: #e0efda;
          }
        }
      }
      .content-head {
        padding: 200px 6px 0px;
        text-align: center;
        .page-detail{
          text-align: left;
          margin-bottom: 30px;
          h2 {
            margin: 0 auto;
            text-align: center;
            font-size: 27px;
          }
          i {
            position: absolute;
            font-size: 16px;
            &.icon-quote-left {
              margin-top: 40px;
              left: 20px;
              float: left;
            }
            &.icon-quote-right {
              float: right;
              right: 20px;
            }
          }
          p {
            margin: 60px 0px 0 20px;
            color: #fff;
            font-size: 13px;
            line-height: 30px;
            min-height: 200px;
            display: none;
            span {
              display: block;
              text-indent: 25px;
            }
          }
        }
        .col-md-4{
          float: left;
          font-size: 20px;
          width: 33.3%;
          text-align: center;
          border-top: 2px solid @color-input;
          div{
            padding: 45px 0;
          }
          color: #d1ffcd;
          cursor: pointer;
          &.active, &:hover, &:active{
            color: #fff;
            border-top: 2px solid #fff;
            .transition(all 0.5s ease);
            i{
              border-color: #fff;
              .transition(all 0.5s ease);
            }
          }
          & > div > i {
            margin: 0 auto 0px;
            background-color: transparent;
            border: 2px solid #4caf50;
            width: 90px;
            height: 90px;
            font-size: 32px;
            font-style: normal;
            line-height: 90px;
            display: block;
            font-weight: 300;
            color: #fff;
            text-align: center;
            cursor: default;
            border-radius: 90px;
          }
          span{
            margin-left: 0px;
            display    : block;
            line-height: 36px;
            font-size  : 13px;
            text-align : center;
          }
        }
        .bl-line{
          position: relative;
          top: 11px;
          left: -1140px;
          width: 400px;
          height: 2px;
          background: #fff;
          z-index: 1000;
        }
      }
    }
    &#page4{
      .section-container{
        width: 100%;
        margin: 0 !important;
        .title {
          font-size: 23px;
        }
        .content-box{
          padding-left: 1%;
          padding-right: 1%;

          .content-list {
            float: left;
            width:  98%;
            margin: 0 1% 20px 1%;
            // min-width: 255px;
            p {
              text-align: center;
              font-size: 18px;
              color: #666;
            }
            &:hover{
              p{
                color: @color-main;
              }
            }
            .content-list-bg {
              height: 240px;
              position: relative;
              overflow: hidden;
              border-radius: 6px;
              margin-bottom: 12px;
              .transition(all .2s ease);
              &:hover {
                box-shadow: 0 3px 5px rgba(0,0,0,.4);
                .content-num {
                  .translate(@x: 0%;@y: -100%);
                  opacity: 0;
                }
                .content-list-txt-bg {
                  cursor: pointer;
                  opacity: .6;
                }
                .content-list-txt {
                  cursor: pointer;
                  .translate(@x: 0%;@y: -45%);
                  opacity: 1;
                }
              }
              .content-num {
                position: absolute;
                z-index: 3;
                top: 45%;
                font-size: 14px;
                color: #fff;
                width: 100%;
                opacity: 1;
                text-align: center;
                .translate(@x: 0%;@y: -50%);
                .transition(all .4s ease);
                .content-num-digital {
                  font-size: 60px;
                }
              }
              .content-list-txt-bg {
                position: absolute;
                z-index: 5;
                border-radius: 5px;
                left: 0;
                right: 0;
                top: 0;
                bottom: 0;
                border-radius: 6px;
                .transition(all .2s ease);
                .linear-gradient(@color-input, @color-main);
                opacity: 0;
              }
              .content-list-txt {
                font-size: 14px;
                color: #fff;
                text-align: justify;
                position: absolute;
                z-index: 6;
                padding: 0 20px;
                top: 45%;
                opacity: 0;
                .translate(@x: 0%;@y: -20%);
                .transition(all .6s ease);
              }
              .content-list-pop {
                position: absolute;
                z-index: 2;
                left: 0;
                right: 0;
                top: 0;
                bottom: 0;
                background: rgba(0,0,0,.5);
              }
            }
          }
        }
      }

    }
  }

  @media (min-width: 480px) {
    .section#page4{
      .section-container .title {
        font-size: 27px;
      }
    }
  }

  @media (min-width: @screen-sm-min) {
    .navbar.nav-scroll .navbar-container #navbar .navbar-right .dropdown-menu{
      li:last-child a{
        border-bottom: 0px;
      }
      a{
        color: #333;
      }
    }
    .section{
      padding: 70px 0;
      .title {
        margin-bottom: 70px;
        font-size: 40px;
        font {
          &.flag{
            font-size: 30px;
          }
        }
      }


      small {
        font-size: 16px;
        &.flag{
          font-size: 40px;
        }
      }

      &#page1{
          padding: 80px 0;
          .lead {
            font-size: 24px;
            .btn {
              width: auto;
            }
          }
        }
      &#page3 .content-head {
        .page-detail {
          margin-bottom: 60px;
          h2{
            font-size: 34px;
          }
          p{
            font-size: 22px;
            margin: 60px 120px 0;
            line-height: 48px;
            min-height: 240px;
          }
          i{
            font-size: 40px;
            &.icon-quote-left {
              left: 80px;
            }
            &.icon-quote-right{
              right: 80px;
            }
          }
        }
        .col-md-4 {
          div{
            padding: 100px 0;
            i{
              float: left;
              margin-right: 12px;
            }
            span{
              margin-left: 15px;
              margin-top : 8px;
              font-size: 13px;
              text-align: left;
            }
          }
        }
      }

      &#page4{
        .section-container .content-box .content-list {
          width:  48%;
        }
      }
    }
  }

  @media (min-width: @screen-md-min) {
    .section{
      .title font {
        font-size: 18px;
      }
      &#page1{
        .lead {
          width: 80%;
          font-size: 30px;
        }
      }
      &#page3 .content-head {
        .col-md-4 div span{
            font-size: 16px;
        }
      }
      &#page4{
        .section-container {
          .title {
            font-size: 32px;
          }
          .content-box .content-list {
            width:  23%;
          }
        }
      }
    }
  }
}
